<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/common/common.jsp" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> 
  <head>
    <base href="<%=basePath%>" />
    <title>Allocator Data Information</title>
    <script type="text/javascript">
		var path = "<%=basePath%>";
	</script>
	<meta http-equiv="pragma" content="no-cache" />
	<meta http-equiv="cache-control" content="no-cache" />
	<meta http-equiv="expires" content="0" />    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
	<meta http-equiv="description" content="This is my page" />
	<link rel="stylesheet" type="text/css" href="<%=basePath%>beshs/css/content.css" />
	<script type="text/javascript" src="<%=basePath%>resources/jquery/jquery-1.7.2.min.js"></script>
	<!-- 用户访问菜单路径 -->
	<jsp:include page="/resources/usertrace/common-uservisit-reference.jsp" />
  </head>
  
  <body>
  	<div class="content_all">
  		<!--导航条-->
  		<div class="insertinfo_table">
      		<table width="100%" border="0" cellspacing="0" cellpadding="0">
        		<tr>
          			<th>Project：</th>
          			<td><s:property value="project.projectName" /></td>
          			<th>District：</th>
          			<td><s:property value='community.communityName' /></td>
        		</tr>
        		<tr>
          			<th>Building：</th>
		          	<td><s:property value='building.buildingName' /></td>
		          	<th>Apartment Number：</th>
          			<td><s:property value='heatRoom.houseNo' /></td>
        		</tr>
        		<tr>
        			<th>Heat User：</th>
          			<td><s:property value='heatRoom.roomOwner' /></td>
		          	<th>Allocator No.：</th>
		          	<td><s:property value='meterData.seriousNum' /></td>
        		</tr>
        		<tr>
        			<th>Concentrator No.：</th>
		          	<td><s:property value='concentrator.concentratorNo' /></td>
		          	<th>Radiator No.：</th>
		          	<td><s:property value='heatSinker.sinkNo' /></td>
        		</tr>
        		<tr>
        			<th>Readings：</th>
        			<td>
		          		<s:text name="fmt.number.precision.three">
		          			<s:param value='meterData.readNum' />
		          		</s:text>
        			</td>
        			<th>Upload Time：</th>
        			<td>
		        		<s:date name='meterData.readTime' format='yyyy-MM-dd HH:mm:ss' nice='false' />
		        	</td>
        		</tr>
        		<tr>
        			<th>Rear Board Temperature：</th>
        			<td>
		          		<s:text name="fmt.number.precision.three">
		          			<s:param value='meterData.backTmperature' />
		          		</s:text>&#8451;
        			</td>
        			<th>Front Board Temperature：</th>
        			<td>
		          		<s:text name="fmt.number.precision.three">
		          			<s:param value='meterData.fontTemperature' />
		          		</s:text>&#8451;
        			</td>
        		</tr>
        		<tr>
        			<th>Meter Reading Time：</th>
        			<td>
		        		<s:date name='meterData.recordTime' format='yyyy-MM-dd HH:mm:ss' nice='false' />
		        	</td>
		        	<th>Last Year Heat：</th>
        			<td>
		          		<s:text name="fmt.number.precision.three">
		          			<s:param value='meterData.lastYearHeat' />
		          		</s:text>
        			</td>
        		</tr>
        		<tr>
        			<th>1 month heat：</th>
        			<td>
		          		<s:text name="fmt.number.precision.three">
		          			<s:param value='meterData.oneHeat' />
		          		</s:text>
        			</td>
        			<th>2 month heat：</th>
        			<td>
		          		<s:text name="fmt.number.precision.three">
		          			<s:param value='meterData.twoHeat' />
		          		</s:text>
        			</td>
        		</tr>
        		<tr>
        			<th>3 month heat：</th>
        			<td>
		          		<s:text name="fmt.number.precision.three">
		          			<s:param value='meterData.threeHeat' />
		          		</s:text>
        			</td>
        			<th>4 month heat：</th>
        			<td>
		          		<s:text name="fmt.number.precision.three">
		          			<s:param value='meterData.fourHeat' />
		          		</s:text>
        			</td>
        		</tr>
        		<tr>
        			<th>5 month heat：</th>
        			<td>
		          		<s:text name="fmt.number.precision.three">
		          			<s:param value='meterData.fiveHeat' />
		          		</s:text>
        			</td>
        			<th>6 month heat：</th>
        			<td>
		          		<s:text name="fmt.number.precision.three">
		          			<s:param value='meterData.sixHeat' />
		          		</s:text>
        			</td>
        		</tr>
        		<tr>
        			<th>7 month heat：</th>
        			<td>
		          		<s:text name="fmt.number.precision.three">
		          			<s:param value='meterData.sevenHeat' />
		          		</s:text>
        			</td>
        			<th>8 month heat：</th>
        			<td>
		          		<s:text name="fmt.number.precision.three">
		          			<s:param value='meterData.eightHeat' />
		          		</s:text>
        			</td>
        		</tr>
        		<tr>
        			<th>9 month heat：</th>
        			<td>
		          		<s:text name="fmt.number.precision.three">
		          			<s:param value='meterData.nineHeat' />
		          		</s:text>
        			</td>
        			<th>10 month heat：</th>
        			<td>
		          		<s:text name="fmt.number.precision.three">
		          			<s:param value='meterData.tenHeat' />
		          		</s:text>
        			</td>
        		</tr>
        		<tr>
        			<th>11 month heat：</th>
        			<td>
		          		<s:text name="fmt.number.precision.three">
		          			<s:param value='meterData.elevenHeat' />
		          		</s:text>
        			</td>
        			<th>11 month heat：</th>
        			<td>
		          		<s:text name="fmt.number.precision.three">
		          			<s:param value='meterData.twelveHeat' />
		          		</s:text>
        			</td>
        		</tr>
        		<tr>
        			<th>Data Source：</th>
        			<td>
        				<s:if test="meterData.dataType==0">Flat Data</s:if>
        				<s:if test="meterData.dataType==1">TXT</s:if>
        				<s:if test="meterData.dataType==2">GPRS</s:if>
        				<s:if test="meterData.dataType==3">Android Platform</s:if>
        			</td>
        			<th></th>
        			<td></td>
        		</tr>
       	 		<tr>
          			<td colspan="4" align="center" style="border:none;">
          				<script type="text/javascript">
          					$(function() {
          						$("input[name='okConfirmBtn']").click(function() {
          							window.close();
          						});
          					});
          				</script>
          				  <input name="okConfirmBtn" type="button" value="Confirm" class="s_btn" />
            		</td>
        		</tr>
      		</table>
  		</div>
	</div>
	<div class="clear"></div>
  </body>
</html>
